
<template>
  <div class="home">
    <MyHead title="首页" :noBack="true"></MyHead>
    <div class="search">
      <van-search
        @focus="gotopage('/search')"
        readonly
        placeholder="请输入搜索关键词"
      />
      <van-notice-bar
        color="#1989fa"
        background="#ecf9ff"
        left-icon="volume-o"
        text="在代码阅读过程中人们说脏话的频率是衡量代码质量的唯一标准。"
      />
    </div>
  </div>
</template>
  
<script>
</script>
  
<style lang="scss" scoped>
.home {
  width: 100%;
  min-height: 100%;
}
</style>
  